using System;
using System.Collections.Generic;
using System.Text;
using System.Data;

namespace NBusiness.Data
{
    public class Parameter
    {
        public Parameter(string name, object value)
            : this(name, value, ParameterDirection.Input)
        {
        }
        public Parameter(string name, object value, ParameterDirection direction)
        {
            _name = name;
            _value = value;
            _direction = direction;
        }

        private string _name;

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }
        private object _value;

        public object Value
        {
            get { return _value; }
            set { _value = value; }
        }

		private ParameterDirection _direction;

		public ParameterDirection Direction
		{
			get { return _direction; }
			set { _direction = value; }
		}
    }
}
